#ifndef _BACK_GROUND_SHADOW_H
#define _BACK_GROUND_SHADOW_H
#include "cocos2d.h"
#include "BackGround.h"
#include "ICC.h"
#include "SourceNum.h"
//#define SHADOWSPRITES 16
class BackGroundShadow : public cocos2d::CCLayer
{
private:
	ICC *icc;
	std::string cstring;
	std::string pngstring;

	cocos2d::CCSize winSize;
	cocos2d::CCSprite *sprites[SHADOWSPRITES];

	struct ShowList *showList;
	void initData();
	void loadTexture();
	void initPosition();

	void updateShowSprites(struct ShowList *pShow,float n);
	cocos2d::CCSprite *getNextSprite();
public:
	BackGroundShadow(std::string cstring);
	~BackGroundShadow(void);

	virtual void draw();

};
#endif

